package com.ruoyi.canteen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品分类对象 canteen_cp_class
 * 
 * @author ruoyi
 * @date 2021-09-08
 */
public class CanteenCpClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /** 分类名 */
    @Excel(name = "分类名")
    private String name;

    /** 排序码 */
    @Excel(name = "排序码")
    private Long orderNo;

    //删除标示
    private int deleteFlag;

    // 必点分类标识
    private Integer mustFlag;

    public Integer getMustFlag() {
        return mustFlag;
    }

    public void setMustFlag(Integer mustFlag) {
        this.mustFlag = mustFlag;
    }


    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMdId(Long mdId) 
    {
        this.mdId = mdId;
    }

    public Long getMdId() 
    {
        return mdId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mdId", getMdId())
            .append("name", getName())
            .append("orderNo", getOrderNo())
            .append("createTime", getCreateTime())
            .toString();
    }
}
